<?php if(is_array($datalist)) { foreach($datalist as $value) { ?>
<li><?php echo $value['title'];?></li>
<?php } } ?>